<template>
  <div>
    <ChildSlot>
      <template #header>
        <div>我是header</div>
      </template>
      <template #main>
        <div>我是main</div>
      </template>
      <template #footer="{user}">
        <div>{{user.firstname}}</div>
      </template>
      <template ></template>
    </ChildSlot>
  </div>
</template>

<script>
import ChildSlot from '@/demo/components/childSlot.vue'
export default {
  components: {
    ChildSlot
  }

}
</script>

<style>

</style>
